package com.nanhang.service;

import com.nanhang.common.util.PageResult;
import com.nanhang.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import com.nanhang.vo.StudentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cx
 * @since 2025-01-07
 */
public interface IStudentService extends IService<Student> {

    PageResult<Student> findByPage(Integer page, Integer pageSize);


    // 3. 条件带分页查询
    PageResult<Student> search(Integer page, Integer pageSize, StudentVo vo);

    boolean add(Student student);
}
